package com.sy.mall.autoserver.feign;

import com.sy.common.utils.R;
import com.sy.mall.autoserver.vo.UserLoginVo;
import com.sy.mall.autoserver.vo.UserRegisterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;



@FeignClient("member")
public interface MemberFeignService {

    @PostMapping(value = "/member/member/regist")
    R register(@RequestBody UserRegisterVo vo);

    @PostMapping(value = "/member/member/login")
    R login(@RequestBody UserLoginVo vo);
}
